//#define __DEBUG__
// by Xeno
private ["_vehicle", "_poss"];
#include "x_setup.sqf"

_mpos = markerPos QGVAR(sm_535);
_mpos set [2,0];
_mpos1 = markerPos QGVAR(sm_535_1);
_mpos1 set [2,0];
GVAR(x_sm_pos) = [_mpos,_mpos1]; // index: 35, Fuel Storage at Factory near Kore
GVAR(x_sm_type) = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client && {!GVAR(IS_HC_CLIENT)}) then {
	GVAR(cur_sm_txt) = (localize "STR_DOM_MISSIONSTRING_1499");
	GVAR(current_mission_resolved_text) = (localize "STR_DOM_MISSIONSTRING_1500");
};

if (call FUNC(checkSHC)) then {
	__PossAndOther
	_vehicle = createVehicle [GVAR(sm_land_tanksmall), _poss, [], 0, "NONE"];
	_vehicle call FUNC(addKilledEHSM);
	_vehicle setDir 270;
	_vehicle setPos _poss;
	_vehicle setVectorUp [0,0,1];
	sleep 2.132;
	["specops", 2, "basic", 4, _poss,50,true] spawn FUNC(CreateInf);
	sleep 2.234;
	["shilka", 1, "bmp", 1, "tank", 1, _poss,1,100,true] spawn FUNC(CreateArmor);
	__AddToExtraVec(_vehicle)
};
